<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:include page="../head.jsp"></jsp:include>
<body>
<%
    if(session.getAttribute("mp")!=null){
    	%>
    	
    	<script type="text/javascript">
    	function ckSMSCode() {
			if(trims(form1.smsCode.value)=="")
			{
				alertmess("验证码不能为空");
				return false;
			}
			return true;
		}
    	</script>
<div id="loginer">
	<div id="loginbox">
    	<form name="form1" id="form1" method="post" action="TbUsersServlet" onsubmit="return ckSMSCode();">
        <input type="hidden" name="method" value="checksmscode">
    	<table class="form">
    	<tr>
    	<td>
    	请输入验证码： 
    	 <input type="text" name="smsCode" id="smsCode" > 
	    	<input type="submit" value="提交" />
	    	<input type="button" value="重新登陆" onclick="window.location='../UserModule/Login.jsp';" />
	    	</td>
    	</tr>
    	</table>
    	</form>
    	<script type="text/javascript">
    	form1.smsCode.focus();
    	</script>
    	</div>
    	</div>
    	<%
    }
%>
</body>
</html>
